getTextParagraphIndices

abstract fun getTextParagraphIndices(block: DesignBlock, from: Int = -1, to: Int = -1): List<Int>

Returns the 0-based paragraph indices that overlap the given range.

Return

the paragraph indices overlapping the range.

Parameters

block

the text block to query.

from

the start index of the range. Negative values reference the entire text.

to

the end index of the range. Negative values reference the entire text.